package com.exchange.entity.role;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色信息表(SysRole)实体类
 *
 * @author makejava
 * @since 2020-10-11 15:22:29
 */
@Component
@TableName("sys_role")
public class SysRole implements Serializable {
    private static final long serialVersionUID = -11223315381155421L;
    /**
    * 角色ID
    */
    @TableId
    private Long roleId;
    /**
    * 角色编码
    */
    private String roleCode;
    /**
    * 角色名称
    */
    private String roleName;
    /**
    * 创建人（用户ID）
    */
    private Integer createBy;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 修改人（用户ID）
    */
    private Integer updateBy;
    /**
    * 修改时间
    */
    private Date updateTime;
    /**
    * 角色排序
    */
    private Integer roleOrder;
    /**
    * 角色状态（0：无效，1：有效）
    */
    private Integer roleStatus;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRoleOrder() {
        return roleOrder;
    }

    public void setRoleOrder(Integer roleOrder) {
        this.roleOrder = roleOrder;
    }

    public Integer getRoleStatus() {
        return roleStatus;
    }

    public void setRoleStatus(Integer roleStatus) {
        this.roleStatus = roleStatus;
    }

}